import request from "@/utils/request";

export default {
    apiGetShippingMethods(data) {
        return request({
            baseURL: window.APP_GETEWAY.tms,
            url: '/channel/dm/option',
            method: 'post',
            data,
        })
    },
    /**
     * 物流商下拉
     * @param data
     * @returns {*}
     */
    apiGetLogistics(data) {
        return request({
            baseURL: window.APP_GETEWAY.tms,
            url: '/logistics/logistics/index',
            method: 'post',
            data,
        })
    },
    /**
     * 物流商运输方式管理-列表
     * @param data
     * @returns {*}
     */
    apiGetLogisticsShipping(data) {
        return request({
            baseURL: window.APP_GETEWAY.tms,
            url: '/api/logistics-shipping/index',
            method: 'post',
            data,
        })
    }
}